Repository navigation
Conversation
- ApplicationHandlerUtils 对 lambda / JDK 动态代理等无法解析泛型参数的 Handler, 不再退化为「订阅全部事件」,改为跳过并输出一次性告警,避免投递不相关事件后 抛出 ClassCastException; - 新增 removeHandlers,SpringDefaultEventHandler 实现 DisposableBean,在上下文 销毁时注销自己注册的 Handler 并关闭线程池,消除静态注册表跨上下文残留; - EventOrderE2ETest 的 Handler 改为具名类,补充订阅类型匹配与注销的回归测试; - 事件驱动规范补充 Handler 不得以 lambda 形式注册的说明。 Closes #228
…cribe-17x Feature/issue 228 handler subscribe 17x
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #231 +/- ##
============================================
+ Coverage 87.36% 87.48% +0.12%
- Complexity 2177 2209 +32
============================================
Files 215 216 +1
Lines 5944 6019 +75
Branches 408 417 +9
============================================
+ Hits 5193 5266 +73
+ Misses 603 602 -1
- Partials 148 151 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe what this PR does / why we need it
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews